.sidebar {
  position: fixed;
  right: 6px;
  bottom: 20px;
  height: 166px;
  z-index: 500;

  &-content {
    width: 38px;
    padding: 1px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;

    a {
      width: 38px;
      height: 40px;
      display: block;
      position: relative;

      span {

        position: absolute;
        background: #ca141d;
        color: #fff;
        height: 18px;
        min-width: 14px;
        padding: 0 2px;
        border-radius: 10px;
        text-align: center;
        line-height: 18px;
        left: 19px;
        font-size: 12px;
        top: 2px;
      }

      i {
        position: absolute;
        display: none;
        width: 76px;
        height: 36px;
        line-height: 36px;
        text-align: center;
        color: #777777;
        background: #fff;
        border-radius: 2px;
        box-shadow: 0 2px 36px 0 rgba(0, 0, 0, 0.07);
        right: 46px;
        top: 0;
        font-style: normal;

        &:after {
          content: "";
          width: 0;
          height: 0;
          display: block;
          border-top: 5px solid transparent;
          border-bottom: 5px solid transparent;
          border-left: 6px solid #fff;
          position: absolute;
          top: 13px;
          right: -6px;
        }
      }

      &:before {
        content: '';
        display: block;
        width: 38px;
        height: 38px;
        position: relative;
        top: 1px;
        background: url("/images/icon-common.svg") no-repeat;
      }

      &:nth-child(1):before {
        background-position: 0 -75px;
      }

      &:nth-child(2):before {
        background-position: -38px -75px;
      }

      &:nth-child(3):before {
        background-position: -76px -75px;
      }

      &:nth-child(4):before {
        background-position: -114px -75px;
      }

      &:hover i {
        display: block;
      }
    }
  }
}
